package org.orz.cloud.auth;

import org.orz.cloud.common.exception.ErrorCode;

public enum AuthErrorEnum implements ErrorCode {
    NOT_LOGIN("AE01","未登录"),
    WORKBENCH_IS_NULL("AE02","workbench不能为空"),
    ;

    private String code;

    private String message;

    AuthErrorEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
